package com.sgcc.activiti.mapper;

import java.util.List;
import com.sgcc.activiti.domain.OAnomalyTypeDuration;
import feign.Param;

/**
 * OAnomalyTypeDurationMapper接口
 * 
 * @author sgcc
 * @date 2021-04-09
 */
public interface OAnomalyTypeDurationMapper 
{
    /**
     * 查询OAnomalyTypeDuration
     * 
     * @param id OAnomalyTypeDurationID
     * @return OAnomalyTypeDuration
     */
    public OAnomalyTypeDuration selectOAnomalyTypeDurationById(Integer id);

    /**
     * 查询OAnomalyTypeDuration列表
     * 
     * @param oAnomalyTypeDuration OAnomalyTypeDuration
     * @return OAnomalyTypeDuration集合
     */
    public List<OAnomalyTypeDuration> selectOAnomalyTypeDurationList(OAnomalyTypeDuration oAnomalyTypeDuration);

    /**
     * 新增OAnomalyTypeDuration
     * 
     * @param oAnomalyTypeDuration OAnomalyTypeDuration
     * @return 结果
     */
    public int insertOAnomalyTypeDuration(OAnomalyTypeDuration oAnomalyTypeDuration);

    /**
     * 修改OAnomalyTypeDuration
     * 
     * @param oAnomalyTypeDuration OAnomalyTypeDuration
     * @return 结果
     */
    public int updateOAnomalyTypeDuration(OAnomalyTypeDuration oAnomalyTypeDuration);

    /**
     * 删除OAnomalyTypeDuration
     * 
     * @param id OAnomalyTypeDurationID
     * @return 结果
     */
    public int deleteOAnomalyTypeDurationById(Integer id);

    /**
     * 批量删除OAnomalyTypeDuration
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOAnomalyTypeDurationByIds(Integer[] ids);

    List<OAnomalyTypeDuration> selectoAnomalyTypeByindexId();

    List<OAnomalyTypeDuration> selectOAnomalyTypeDurationByIndexId(OAnomalyTypeDuration oAnomalyTypeDuration);

    List<OAnomalyTypeDuration> selectoAnomalyBYIndexId(@Param("id") Integer id);
}
